from django.db import models


# Create your models here.

#  客房类
class rooms(models.Model):
    # 房间号
    room_number = models.CharField(max_length=4)
    # 房间类型
    type = models.CharField(max_length=63)
    # 房间状态 0空闲 1入住 2预定 3维修
    status = models.SmallIntegerField(blank=True, null=True)
    # 是否需要打扫 true需要 false不需要
    clean = models.BooleanField(blank=True, null=True)
    # 是否请勿打扰 true请勿打扰 false无所谓
    dont_disturb = models.BooleanField(blank=True, null=True)
    # 房间价格
    price = models.IntegerField(blank=True, null=True)